import Vue from 'vue'
import VueRouter from 'vue-router'
import Vuex from '../views/Vuex.vue'
Vue.use(VueRouter)

const routes = [{
		path: '/',
		name: 'Vuex',
		component: Vuex
	},
	{
		path: '/about',
		name: 'About',
		component: () => import( /* webpackChunkName: "about" */ '../views/About.vue')
	}, {
		path: '/Export-excel',
		name: 'Export-excel',
		component: () => import( /* webpackChunkName: "Export-excel" */ '../views/Export-excel.vue')
	}, {
		path: '/analysis-ecel',
		name: 'Analysis-ecel',
		component: () => import( /* webpackChunkName: "Analysis-ecel" */ '../views/Analysis-ecel.vue')
	}, {
		path: '/Pdf',
		name: 'Pdf',
		component: () => import( /* webpackChunkName: "Pdf" */ '../views/Pdf.vue')
	}, {
		path: '/drag',
		name: 'drag',
		component: () => import( /* webpackChunkName: "drag" */ '../views/drag.vue')
	},
	{
		path: '/Tree',
		name: 'Tree',
		component: () => import( /* webpackChunkName: "drag" */ '../views/Tree.vue')
	},
	{
		path: '/right',
		name: 'right',
		component: () => import( /* webpackChunkName: "drag" */ '../views/right.vue')
	}
]

const router = new VueRouter({
	mode: 'history',
	base: process.env.BASE_URL,
	routes
})

export default router